home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-04 | 13.2 KB | 263 lines | [TEXT/EMAC] |
- PwrSwitcher FAQ
- David B. Lamkins (DBLamkins@aol.com)
- Version 1.5
-
- Created 1994 Jan 4 - 1.0
- Revised 1994 Jan 21 - 1.1
- Revised 1994 Feb 14 - 1.2
- Revised 1994 Mar 29 - 1.3
- Revised 1994 Apr 25 - 1.4
- Revised 1994 Jun 4 - 1.5
-
- As of January 1994, I have stopped supporting PwrSwitcher. This
- document, which answers frequently asked questions regarding
- PwrSwitcher, is the only response now available to inquiries.
-
- Q: What is the most recent release of PwrSwitcher?
- A: The final release is 1.1.3 - there will be no more. I know I said
- this in January with 1.1.2, but unique circumstances enticed me to
- bring the code out of retirement for a couple of hours.
-
- Q: Why did you release 1.1.3 after you said 1.1.2 was the final
- version?
- A: Mark Nagata and Kevin Hardman worked together to isolate and
- diagnose a crash caused by PwrSwitcher when used with Symbionts'
- "pause on caps-lock" feature. It turns out that any keyboard
- activity would cause PwrSwitcher to crash, if that activity
- occurred after PwrSwitcher loaded but before the Finder started.
- My decision to release 1.1.3 was influenced by Kevin's thorough and
- accurate diagnosis and by the fact that the fix was simple.
-
- Q: Where can I obtain a copy of the final version of PwrSwitcher?
- A: I uploaded the final release to America Online. I have heard
- from correspondents that PwrSwitcher has been reposted to some
- Internet archive sites that carry Macintosh software. I do
- not respond to requests to send disks.
-
- Q: Why do you no longer support PwrSwitcher?
- A: I first released PwrSwitcher as a freeware program in July,
- 1991. I have maintained PwrSwitcher and answered user
- inquiries for two and a half years, now. Newer models of
- Apple computers don't have power keys that are capable of
- triggering PwrSwitcher, so its usefulness is dimishing with
- time. Also, there are now several commercial and shareware
- products that provide capabilities similar to PwrSwitcher.
-
- Q: Is it likely that PwrSwitcher will stop working?
- A: It is quite possible that a future release of Apple software
- or hardware could impair the function of PwrSwitcher. We've
- already seen this with the special power keys found on Duos,
- Color Classics, and other new machines. I've also had to make
- the PwrSwitcher code handle System 7.0 differently from 7.1,
- since the code relies on an undocumented global that has moved
- between system software releases.
-
- Q: The power key on my Mac doesn't trigger PwrSwitcher. Why?
- A: Many new Macs handle the power key using special hardware, rather
- than treating it as just another key on the keyboard as with the
- original ADB keyboards. The Duos and all of the newer Macs that
- allow you to shut down using the power key can't use the power key
- to trigger PwrSwitcher. If you refer to the PwrSwitcher
- instructions, you'll see how to use the esc key (or control-esc)
- instead of the power key. [Note: I've been told that there may in
- fact be a keycode associated with the power key on some PowerBooks
- or Duos. I'll add this info to the FAQ as soon as I have more
- details.]
-
- Q: I'm running a PowerBook, so I have to set PwrSwitcher to use the
- esc key. But when I do a force quit (Command-Option-esc),
- PwrSwitcher cycles to the next application, and then the system
- asks me if I want to force that application to quit. How do I fix
- this?
- A: Set PwrSwitcher to require the control key by turning on that check
- box in the PwrSwitcher control panel. This way it won't intercept
- the Command-Option-esc chord at all.
-
- Q: What can I do to keep PwrSwitcher from conflicting with the
- RadiusWare Cursor Beacon?
- A: Try checking PwrSwitcher's ``require control key'' option, and
- activate PwrSwitcher with control-power. This will leave the
- power key (without the control modifier) to activate the
- cursor beacon.
-
- Q: Why isn't PwrSwitcher's startup icon displayed in color?
- A: This is _the_ most often asked question, believe it or not.
- PwrSwitcher uses its own icon drawing routines, rather than
- Paul Mercer's ShowINIT. I never considered the time spent on
- changing this to be worthwhile - I don't watch the icons march
- across the screen as my Mac starts up...
-
- Q: I think I found a bug in PwrSwitcher. What can I do?
- A: If you really want to keep using PwrSwitcher despite the bug,
- your best course of action is to isolate the condition under
- which the bug appears, then avoid that condition. If you're
- lucky enough to be able to isolate a conflict with one other
- system extension or operating mode, then you have a choice...
-
- Q: What PwrSwitcher replacements exist?
- A: Here are all the extensions that I've seen listed in the same
- category as PwrSwitcher in various Mac books, or have discovered
- through other sources:
-
- Apollo by Jeremy Roussak (shareware)
- ProSwitch by Marcus Fest (postcardware)
- ApplWindows by Hiroaki Yamamoto (freeware)
- Just Click FKey by Luis A. Bardi (freeware)
- QuicKeys by CE Software (commercial)
- Switch by Jeff Bock (freeware)
- GOTO FKEY by Matt Mora (freeware)
-
- I've used Apollo, ProSwitch, ApplWindows, and GOTO FKEY - all
- of these have worked well for me. I haven't used Switch
- since before I started work on PwrSwitcher - its only fault
- was that it couldn't work with background-only applications
- running.
-
- Q: Why does PwrSwitcher get stuck on some applications?
- A: I was never able to reproduce this on my machine. One possibility
- is that PwrSwitcher's stack check fails due to some application or
- extension leaving a very small reserve stack space; I'm not fully
- convinced that this is likely, though - the final version of
- PwrSwitcher reduced stack requirements to a few hundred bytes, and
- some people still see this problem. Another possibility is that
- the application patches _KeyTrans and somehow conflicts with
- PwrSwitcher. The source is available if anyone cares to
- investigate further...
-
- Q: Can I get source code for PwrSwitcher?
- A: Yes. PwrSwitcher source is being posted to America Online
- at the same time as this FAQ, and should appear on other
- services and Internet archives as users cross-post the source.
- Please do not ask me to mail you the source code or post it
- to another service.
-
- Q: What can I do with the PwrSwitcher source code?
- A: Two things - modify PwrSwitcher for your own use, or create
- a new product based upon the PwrSwitcher source. There is a
- modest licensing fee ($0 for freeware products, $10 for
- shareware products, and $100 for commercial products)
- associated with the latter use of the code. You may not,
- however, distribute a modified version bearing the PwrSwitcher
- name or using PwrSwitcher’s registered signature. Contact me
- via email for further details.
-
- Q: I noticed that PwrSwitcher is written in THINK Pascal.
- Does THINK Pascal's demise have anything to do with dropping
- support for PwrSwitcher?
- A: Although THINK Pascal has not seen a major upgrade since 1991,
- it continues to perform admirably and remains, in my opinion,
- the foremost example of good interface design for a program
- development environment. I removed THINK Pascal from my hard
- disk immediately after the PwrSwitcher 1.1.2 release solely
- to force me to concentrate on developing my proficiency with
- other tools used in my day job.
-
-
-
- Release History
- ===============
- The following information is available in the documentation which
- accompanies PwrSwitcher. In case you'd like a quick reference to see
- what has changed since an earlier version you may have, the change
- history is repeated here:
-
- 1.0a1 — First public release.
- 1.0a2 — Added backwards cycle function. Ignored Control key to aid
- compatibility with RadiusWare Cursor Beacon.
- 1.0a3 — Added mark/swap functions. Added Finder help balloon.
- 1.0a4 — Added code to skip hidden layers. This version is designed not
- to load under System 7.1 or later (as a fail–safe for the
- hidden application detection code).
- 1.0a5 — Added color Finder icons. No longer confused as to the of
- multiple copies of the same program. Changed the fail–safe
- mechanism so PwrSwitcher can continue to load under System 7.1
- and later (although hidden application detection may not
- continue to work).
- 1.0b1 — Changed from extension to control panel. Added support for
- Macintosh Portable using ‘esc’ key as substitute for Power
- key. Rewrote documentation.
- 1.0b2 — Control panel now has preference controls and help balloons.
- Must use Control key with all key combinations. Known to fix
- “switch out problem” with Adobe Illustrator 3.0 (probably also
- fixes less severe problem with Microsoft Excel 3.0).
- 1.0 — [November 1991] Removed MacsBug names to save space. Bundled
- “NC” variant which doesn’t require use of Control key.
- 1.1b0 — [Not generally released] Found a better fix for the
- Illustrator and Excel glitches, without need for the Control
- key hack. Added a checkbox for those who actually got to like
- adding the Control key to the activation chords — this also
- means there’s no longer a separate ‘NC’ version. Added another
- checkbox to specify choice of power key or ‘esc’ key, rather
- than trying to decide based on keyboard Gestalt information.
- Fixed a crash that would occur if you pressed the power key
- after PwrSwitcher had loaded, but before the Finder had
- started.
- 1.1b1 — [Not generally released] Made many cosmetic changes to the
- control panel. Changed to use undocumented _LayerDispatch
- interface rather than walking the data structures I
- reverse-engineered in System 7.0 (since these changed in 7.1).
- Fixed a crash that happened if you opened and closed
- PwrSwitcher after booting with extensions disabled. Removed
- the “notify if can’t switch” feature. Added a “re-hide”
- feature.
- 1.1b2 [Never released] — Removed the _LayerDispatch calls and masked
- over the controls that rely on this. Until I figure out the
- appropriate selectors for _LayerDispatch, the “Auto-show
- hidden applications” and “Re-hide hidden apps on switch out”
- features will not be functional.
- 1.1b3 — [Not generally released] Restored the _LayerDispatch interface
- using new information. Suppressed activation when a modal
- dialog is the front window. Rearranged some internal code to
- improve reliability. Internally disabled the re-hide feature,
- and added some visual cues to indicate this non-feature. Fixed
- the problem where the ‘esc’ key (when selected as the
- activation key) was passed to the application during
- switching.
- 1.1b4 — [First public beta] Removed the non-functional re-hide
- control, and removed references from the documentation (except
- in this section).
- 1.1b5 — Found that the _LayerDispatch code in 1.1b4 had some rare but
- nasty side effects (layer mangling), so I tore it all out and
- went back to the visibility-test code I used in PwrSwitcher
- 1.0, with appropriate changes to handle both System 7.0 and
- System 7.1. With this change, I was able to get rid of all the
- compatibility warnings — you don’t have to worry about the
- “safety mode” documented with the 1.1b4 release.
- 1.1b6 — Added a screen saver check. Modal dialog check now ignores
- invisible windows. Added a _DebugStr call, accessible via
- shift-command-option-esc. Added a stack space check;
- PwrSwitcher won’t try to do anything if it gets called when
- _StackSpace returns less than 2K free. Changed the “GLOB”
- template to encourage ResEdit customization.
- 1.1b7 — Made the modal dialog check more reliable. False positives
- (causing PwrSwitcher to “stick” on certain applications)
- should be a thing of the past.
- 1.1 — Ignore state of “require controls” checkbox for debugger chord.
- Cut free stack check to 1K.
- 1.1.1 — Cut free stack check to 256 bytes. Add special case
- recognition for Jasik’s Debugger, which doesn’t have a world
- pointer. Recognize that debugger flags are always at $BFF on
- machines with universal ROMs. Ignore presence of debugger in
- 32-bit mode when using Apple’s 32-bit System Enabler, due to
- broken implementation of _Debugger and _DebugStr.
- 1.1.2 — Added a special check to enable the debugger chord in the
- presence of Alain Birtz’s ABZmon debugger. ABZmon doesn’t
- register itself by putting its entry address in the MacJmp
- global. ABZmon defines OS trap $AAFF as its _DebugNum trap;
- PwrSwitcher uses the presence of this trap as the indicator of
- ABZmon’s presence. [This is the last version. I won't be
- updating PwrSwitcher.]
-
-
- Acknowledgments
- ===============
- I would like to express my appreciation to the following authors
- and publishers who have included PwrSwitcher in a book or CD-ROM:
-
- Deke McClelland, ``Macintosh System 7: Everything You Need
- To Know'' (Sybex 1992)
- Bob LeVitus & Glenn Brown, ``Customizing Your Mac'' (Brady 1993)
- David Pogue, ``MacWorld Macintosh Secrets'' (IDG Books 1993)
- Arizona Mac User’s Group, ``BBS In A Box IX'' (AMUG 1993)
- Clay Andres, ``The Little Mac Toolkit'' (Peachpit Press 1994)
-